fixing css for logged in icon
handling when params are not sent