basic beans for login, basic login page, some bugfixes for the DAO