Added template for portfolio in View Profile page, added constraints for database URL

Please view commit message for more information.