fixed config for apache
updated some views, added comment in api controller