Added validation method to API
Worked on User login and Registration

Users can now login and register with Splatter
Fixed error in users/validate function