removing redirection to userpage via cookie