Add signin, signout and remember_me function.