Redirects user if user is already logged in.
Erroneous chars at end of file.
Changed to registration.
Prevented users from registering an already registered username.