Some bugs removed after changing users manipulation from IDs to usernames.