Added validations to registration and login page with session storage

On clicking the categories the selected for respective categories are
being displayed