Merge pull request #20 from ashchogoleva/master

add user registration and some improvements
Layout path fixed, code reformatted.
User profile page added.
Add user login
Add AuthUser context
Add AuthUserProvider for detect auth user and set context
Add object to pass variables into template
Fix session attribute type
Add auth user model to templates
Add user logout. Fix #8
Fix #17