rails backend for admin