account page for membership does not load

When a person goes to the account page and they are not logged in the page does not load and sometimes gives an error.
I need the account page to work and I need a login page to give members to use to login from.
The page is