implemented back-end, transaction management and service layer. login
works with users from database.