changed structure of DB and so changed queries to DB
althought add receiving data wheh user registrates