Fixed register function, fixed jdbc not loading