template rendering partially working. POST Fails.