Authenticating users against a database with Apache Derby.
Added MD5 encryption for passwords