Finished base of authentication