fix #414
The if statements was only checking for the users that already sign into the formbar. so what causing the user not found error is when we try to change password or permissions of the not log in user. It can't find him. So I made a new user list that takes all users account from the databased. Change some of the if statements to check the name in the new user account. Change some of the function that uses the old user list and add in the new if statement for changing permissions for both old and new userlist so it will change the log in user right away instead of logging out and logging back in.
fix #414 The if statements was only checking for the users that already sign into the formbar. so what causing the user not found error is when we try to change password or permissions of the not log in user. It can't find him. So I made a new user list that takes all users account from the databased. Change some of the if statements to check the name in the new user account. Change some of the function that uses the old user list and add in the new if statement for changing permissions for both old and new userlist so it will change the log in user right away instead of logging out and logging back in.