created index action for the appointments, allowed admins to view it but not visitor or users, created cucumber tests accordingly.