forms validation &  redirections