rewrite user.php and add signup function ,user view