Preliminary setup for registering and login.