added login based features to the webpages