added .log in gitignore
added *.log to gitignore
checking if user has permission to view its user profile
Disallow git folder in .htaccess. Function comments in permission handler