added more logic to the account#show page