Set the login form up with part of the login code
Still needs forgotten password and register.