switched to cowboy 2; session name type has been changed to atom