Final Upload.

Login, registration and logout work correctly.