added get and post