use controller and action param values to determine if page is a login page or not, instead of passing instance var