added links from register to login to main