Corrected Login and Detail behavior