move the preference page into the jpa package

Signed-off-by: FunThomas424242 <funthomas424242@gmail.com>
connection fixed

Signed-off-by: FunThomas424242 <funthomas424242@gmail.com>