Controller with get and post.