Add api docs (incomplete)
Fix login varidator