making the left registration and login its own component for better reuse