change login layout to fragment layout