Move secret key back into app