added pathrules module to redirect users to front page after login