Fixed login always redirecting to index

A user may now log in from any page and remain on that page.