login redirect and panel menu