add login  and modify db