Added and tested functionality for restriction based on login