fixed management login
additional rest methods
cleanup