Adding logic to display 'sign in', 'sign up' in the application view