fix entity service and user service
+ added auth pre-dispatch and logout for admin
+ added password crypt in authenticate process