adding to database done except for packages and rooms
bug fix