Removed divs from register and cleaning session
attempts to fix login loop
cleaning login script, not fixed
Fixed the login issue, needed a session start on index page:
Fixed conflicts