working with ajax on user, summarym and todo to talk to db