added persistence package, database classes, and login controller