Pubstwo 889 Client side authentication functionality done

In general I prefer to use strict equality (===, !==) by default when coding in JS. If you feel the same, correct it, if not, let it be, but keep an eye out for type coercion. Type coercion doesn't happen or matter in this case, but is important in other situations.