Fixed a bug with adminview controller (admin view controller will now correctly be created with user/pw info).
Also added message sorting by id.