refactor registration edit view for heroku error
removed commented code
updated post and topic views for heroku error