Client Side
Some minor fix to clients management.

Server Side
Authentication management

1. Added current_user method to ApplicationController
   The current user is stored in session
   If no user is currently authenticated, the backend replies with 401 +
   error_msg.

2. Added authentication_required to UsersController for ALL actions.

This is just a proof of concept for basic authentication. Lots of
adjustments are required.