added the sign in/sign up and following functionalities