Login system done, registration in process

Lots of changes, scrapped old PHP, made things way better