first time login implementation