add a newline and remove some comments
get the auth store into a functional state and add tests