Hooked up login to server side.