Fixed the CORS for POST
Completed user login and fixed findById