settings page mock, improved login and registration