added different manager/user views using sessions and comparing to whats in the database