fixed bugs, creating users now works