implemented authenticate function, untested
generated java classes for kevin's database