add try block
Added user_management.php
Update login function