fixed bug with base class
fixed users and related helpers
changed package file
fixed bug with csrf and added tests