Fixed the methodType for the login