starting on login procedures