Fix bugs. Add logic to user log in with entity.
Merge branch 'ValikBranch' of https://github.com/DzianisPasiukou/ProjectForEpam into MyBranch

Conflicts:
	LogicLayer/DatabaseHelper.cs
	MvcApp/Controllers/AccountController.cs
	MvcApp/bin/DataBaseLayer.dll
	MvcApp/bin/LogicLayer.dll
	MvcApp/bin/MvcApp.dll
add using. fix bugs.
merge
Merge branch 'ValikBranch' of https://github.com/DzianisPasiukou/ProjectForEpam into MyBranch

Conflicts:
	LogicLayer/DatabaseHelper.cs
	MvcApp/Controllers/AccountController.cs
	MvcApp/Views/Account/Register.cshtml
	MvcApp/bin/DataBaseLayer.dll
	MvcApp/bin/LoggingManager.dll
	MvcApp/bin/LogicLayer.dll
	MvcApp/bin/MvcApp.dll
fixed bugs.
Merge with DenisBrunch