Fixing bug (renaming username-variable to email)