Managed to display users table in codeigniter.