Clean up code

Remove unused methods in class CheckRights, remove Users class entirely