updating get and post for signin and signup