added auto home redirection after login