This is Custom Forms Authentication and hence the standard GetUserId method won't work.
You can get UserName by using User.Indentity.Name
And if you need UserId in this property you will need to set UserId in Forms Authentication ticket.
FormsAuthentication.SetAuthCookie(user.UserId, user.RememberMe);