Add user and member login functions