fix login, edit profile, also fix tack model and tack controller