conditional details page css based on video being defined. also added tests around login/logout service