LoginViewController memory fixes