add authentication to admin pages

Moves all admin stuff to the rails side, add authentication for those pages via admin users.
So you can see other users checkins?