corrected userStatus and User.php

Signed-off-by: dmitry konurov <dmtiry.konurov@opensoftdev.ru>