Check role view before redirect on login