Fixed login.
fixed DBQueries.
Merge pull request #14 from Agfct/Birger

Birger