Registration and login update

-Server side validation for login and registration
-Needs regex matching