alter sql for signin