Persistence

Added persistence to Credentials and added additional parameters for this elsewhere