create user class and basedao