authentication stuff complete