prototypes
mostly finish save allocation settings
most of authenticate