updated key generation form, fixed profile edit bug with missing username