added more features for logged in users