The reason you're getting [object Object] is because
JSON.parse
will actually return the object you have serialized, not one of its properties.
For example, if you wish to output the username, use the following:
var person = JSON.parse(localStorage.getItem('persondetails'));
document.getElementById('username').innerHTML = person.firstname + person.lastname;