adds user to table on login