Added hasAccess for group
Save state when redirecting to home and use it after login