Moved User related SQL to UserBean

Most of the Commands are affected