some fix
added permissions entity
added roles enum
implementing services