Refactor authentication

The authentication has now been moved onto its own method which receive the warden environment variable and checks whether the user is authenticated and returns the @user object to be used downstream.

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>
Add :friends property to the database

The :friends property has been added to the database as a CommaSeparatedList.

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>