changed login procedures