Fix error messages and status codes for authentication
Fix error error messages and status codes for comments