workng on login sessions