Added the login controls to the model