Update _login_logic.erb