Hook up login and register functions to server