Add validation to login and register forms, handle account requests