set isRegister controller method to accept GET requests only