Removed auth token check

The check caused too much of hassle because of the async $http request.
I'll implement a different method of checking for an active token.
Refactored the `read` method if the `logs` module

Had to change some column names to play nice with the new database
schema. Added a constructor to get an instance of the DB class.
Refactored the Rights library for the new schema. Made the data
parameter for the angular apiService optional and set it as an empty
object if not provided.