Created Sign in method API