fixed wrong password on user creation and router not initialized. Added logout button