Partial implementation of the token based authentication in the back-end