Implementation for uc 3 with remember user credentials and prevent manipulating cookies