Using Flex to build a Login and user profile page