get and post are working