Fixed the get and post