added auth decorators and set template context processors for auth