creating user signing querry