added User entity and modified ejb for connection via json