add signin functionality to app but there is still a bug with the remember token