uploading the portal code

this is the code up till the latest update