Update user_manager-0.5.sh

Bug fixes