Server now can check the login, get the avatar list and save avatars at the DataBase.

Signed-off-by: Tales Martins de Souza <tales.martins@gmail.com>