public ArrayList viewMyBooking() {
        ArrayList temp = new ArrayList();

        Query q = em.createQuery("SELECT t from BookingEntity t");
        for (Object o : q.getResultList()) {
            BookingEntity p = (BookingEntity) o;
            System.out.println("viewbooking: reached 1" + userId);
            System.out.println(p.getAccount());
            temp.add(String.valueOf(p.getId()));
            System.out.println("viewbooking: " + temp.size());
        }
        return temp;
    }