Authentication

work in progress

POST /api/auth/register

register a user

POST /api/auth/login

user login

GET /api/auth/logout

user logout

GET /api/auth/profile

get authenticated user info

POST /api/auth/profile/edit

edit authenticated user

POST /api/auth/picture

update authenticated user picture

DELETE /api/auth/picture

delete authenticated user picture