OO login and registration system. Just a try.