Added 'remember' function for remembering URL visits for redirection upon login.