         var header = UIView(frame: CGRectMake(0, 0, self.view.frame.size.width, headerHeight))
         Avatar = UIImageView(frame: CGRectMake(15, 5, 40, 40))
         Avatar.sd_setImageWithURL(NSURL(string: appUserPic), placeholderImage: UIImage(named: "Avatar"))
+        Avatar.layer.borderWidth = 1
+        Avatar.layer.borderColor = UIColor.whiteColor().CGColor
         Avatar.layer.masksToBounds = true
         Avatar.layer.cornerRadius = 20
         header.addSubview(Avatar)

    var username: UILabel!
    var level: UIButton!
    var btnLogin: UIButton!

    override func viewDidLoad() {
        super.viewDidLoad()

class leftMenuViewController: UIViewController, RESideMenuDelegate, UITableViewDelegate, UITableViewDataSource {
    
    let cellHeight: CGFloat = 50
    let headerHeight: CGFloat = 80
    var tableView: UITableView!
    let titles = ["新手任务", "我的背包", "分享给好友", "评价APP", "软件设置", "退出登录"]
    let images = ["newuser", "backpacker", "share", "pingfen", "setting", "logout"]
