get and post for the / page