remove useless permissions, views refactoring work in progress
minor fixes