Authentication methods put into module