Fixed entity framework issue by added a new class

More work on the profile page