Making sure views are not accessible if user is not logged