add support for logIn and GET methods