Added user to the template context, worked on log in/out