put loginCheck method to 2nd level controller from base controller