update ActionController login logic