Fixes admin panel visibility

Changes customers into views and refactors the way the application checks if user has admin rights