fixed minor bugs and syntax errors
added validation functions
added user registration and login api code
added authentication and user task create and all tasks get functions