Saving credentials fully functioning