Added permissions, reworked registration, added minimal django group support