tidyed up the login and registration a bit. About to start adding it to router and server

Almost 10,000 deletions? I'd like to know where.