Added login system to web client. Added login commands to PWApi.