Login now redirects you to previous page