Finished functionality for the account pages