fix last post errors, clean up frontend controller a bit