Creating some fancy get and post action