Changing the login method from post to get

As we are already validating the user crediantions so we are now using
the GET method to get the user info by using login method