Changed the way roles work. Added working user management.