Fixed logging in as an admin and register username admin