adding redirection when there is a user connected on the page signin and signup