Authentication functionality completed.