Fixed jdbc issues and Registration servlet