Added the sign in funtionality