added layout; added user details tag; enabled logout; moved auth helper stuff into auth service; set up some more IoC