admin forms logic