add GET POST and database