Formatted getAllItemNames method.
Formatted getItemNamesByUser method.
Moved valid token method to the api.
Refactored isValidToken method to return the user id if the token is valid or False otherwise.