implemented log out and use PFLoginViewController