Added the secret key generation to the registration and removed extra semi-colon from UserProfile page