Redirect to login page function was added in UI components when session is expired