moved logging interceptor back, wasn't being called from other folder
redirects to login if no session exists