improved login, follow and unfollow