begin structure for remember me functionality