redirect to main page if we click in the subjects tabas