add sql for loging in