added actions in routes to handle methods in profile controller