A user log in database using java