added category mixin to location view
added logout view