fix bug login, reasign masterpage