Refactored application layout,edit registration, and cleaned up post and topic controllers.