fetch all users from the table and return view