now working draft with working admin page