fix login and register, add searchAct