Refactor some views and add limit to profile inputs