session checking for account detail view.
invite user for accounts.
redirect on invalid session.
delete accounts.