Created database manager and implemented simple login