Updates for rest and login