ID and logic completed, auth implemented