Fixed duplicate entry exception in UserCredentials. BLOG