Login system and auth tokens now work, need cleanup and testing