helper file added to check user login credentials on pages after login
commented out new code from code review temporarily