Cleaned up registration views and posts controller