Update login detail edit page

Bug fix, not fully fixed!