Profile now works properly

Can send requests,
Loads profile dynamically
Fixed so that load routes shows up again
Edited login so that index can read the cookie.