edit loginform model