add favoritate table and modify login