Put credentials in DB