Adds login, logout, and registration.