better structure, error logger
baby steps with authentication