unify the login resources