Added logout; Finished auth basics