Login/Register system

There are still some bugs to iron out.