added menu activation for each page after login