Created api for user managment
Created login logout logic. Added some front end