added SBAdmin theme and updated pagination logic