Implemented sign in feature