login and logout asynchronously. css flip animation. moved static data into registry