modified login and register pages

login.html: added uid to a session variable
register.html: added validation (server side and client side)
-installed swift library (for emails)
-need to add verification link to email
-need to finish password change