Edit password permissions now complete + optmisiations to LINQ queries