adding fragment features

adding fragment features to Login page.