[feature] implemented and tested google/twitter authentication, added a logout method to $user