completed simplest random and next functionality, added admin