Login/register user from webapp