#28 Make authentication working