Added login and registration

With the SessionManager class, sessions are handeled. If a session is
not started, the user is redirected to the login activity. The login and
register activities are just plain XML. They send data to the login.php
and register.php.