Added home redirection to login script.