changed registration and authorisation
added username into views
fixed NotUnique error
switched to mongoengine for worker
switched to mongoengine for Session
minor fix