added connection to database
added select of users from database
changed models of task and state