Added extra variable that holds the information about the API user

Added extra variable that holds the information about the API user. This way when using the API-key functionality the user has the ability to expand the `key` database with extra columns that carry information about the current API user.