added depts to db. login working.