#488 improved api docs and simplified minimal log in and authorization templates