handled redirection  when session is already there
added type of signup (web or app)