login update

hopefully the last fix for the update part