Fixed it so it works with .net 4.0

Also added google auth and cleaned up login pages.