modified client files and checked if user is logged in
removed commented lines