Changed RewriteBase and error  correction

- Changed RewriteBase in .htaccess to BASE_URL
- logged in members without permissions will be redirected without error now