         
         refreshControl = UIRefreshControl()
         refreshControl?.tintColor = UIColor.digipostGreyOne()
-        refreshControl?.addTarget(self, action: "refresh", forControlEvents: UIControlEvents.ValueChanged)
+        refreshControl?.addTarget(self, action: "refreshContentFromServer", forControlEvents: UIControlEvents.ValueChanged)
         tableView.addSubview(refreshControl!)
     }
     
-    func refresh() {
+    func refreshContentFromServer() {
         updateContentsFromServerUseInitiateRequest(0)
-        
-        
     }
 
     override func viewWillAppear(animated: Bool) {

            }

            }, failure: { (error: NSError!) -> Void in
                                
                /*if let response = error.userInfo?[AFNetworkingOperationFailingURLRequestErrorKey] as? NSHTTPURLResponse {
                    if response.isKindOfClass(NSHTTPURLResponse) {
                        if (POSAPIManager.sharedManager().responseCodeIsUnauthorized(response)) {

        
        navigationController?.navigationBar.topItem?.setRightBarButtonItem(logoutBarButtonItem, animated: false)
        navigationController?.navigationBar.topItem?.title = title
        
        updateContentsFromServerUseInitiateRequest(0)
    }
    
    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
    }
    
    func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {
