Add user login

Support user login through the online database