got rid of create comment function in home controller and just adapted the one in posts controller to work for both the home page and profile page