Changed login redirection to use relative path